/***********************************************************************
 * Module:  VOStudent.java
 * Author:  vitman
 * Purpose: Defines the Class VOStudent
 ***********************************************************************/
package dbLayer;

import boLayer.BOStudent;

/** @pdOid 6b1ecd09-a6bb-47e4-a066-b810d2b18b34 */
public class VOStudent extends VOGeneral {

	private VOUser user;
	/** @pdOid e6d39d11-d3c7-4750-8827-3252bf81cc6b */
	private VONomSpecialties specialty;
	/** @pdOid 55d69976-a1c3-4a73-993e-9b33ed10a944 */
	private VONomStudentDegree degree;
	/** @pdOid 7c2e0122-93cf-4bde-a318-f3d37e58b942 */

	/** @pdOid 915e21b5-3926-4ac1-8f6d-b88b8192da3b */
	private String fn;
	private int isDeleted;

	public VOStudent() {
		super();
	}

	public VOStudent(BOStudent boStudent) {

		this.fn = boStudent.getFn();

		this.specialty = boStudent.getSpecialty();
	}

	/** @pdOid 5849c08b-f6b4-4a6b-8e6d-bceec6bd6e8f */
	public VONomSpecialties getSpecialty() {
		return specialty;
	}

	/**
	 * @param newSpecialty
	 * @pdOid 5324b807-18e2-4224-bf87-f8a87fc0f104
	 */
	public void setSpecialty(VONomSpecialties newSpecialty) {
		specialty = newSpecialty;
	}

	/** @pdOid 884e8ccb-ea09-4000-801d-4d4ce448b0a8 */
	public VONomStudentDegree getDegree() {
		return degree;
	}

	/**
	 * @param newDegree
	 * @pdOid 16fe29cb-a146-4700-b674-e78ac8313251
	 */
	public void setDegree(VONomStudentDegree newDegree) {
		degree = newDegree;
	}

	/** @pdOid 11528671-77c3-49b6-ba10-8ddfbdfb9306 */
	public String getFn() {
		return fn;
	}

	/**
	 * @param newFn
	 * @pdOid a2fc93af-8ee9-4af9-9820-6da835e79e96
	 */
	public void setFn(String newFn) {
		fn = newFn;
	}

	public VOUser getUser() {
		return user;
	}

	public void setUser(VOUser user) {
		this.user = user;
	}

	public int getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(int isDeleted) {
		this.isDeleted = isDeleted;
	}

}